﻿Partial Class TextureFillSample2
    Inherits Camalon.Drawing.ShapeContainer

    <System.Diagnostics.DebuggerNonUserCode()> _
    Public Sub New(ByVal container As System.ComponentModel.IContainer)
        MyClass.New()

        'Required for Windows.Forms Class Composition Designer support
        If (container IsNot Nothing) Then
            container.Add(Me)
        End If

    End Sub

    <System.Diagnostics.DebuggerNonUserCode()> _
    Public Sub New()
        MyBase.New()

        'This call is required by the Component Designer.
        InitializeComponent()

    End Sub

    'Component overrides dispose to clean up the component list.
    <System.Diagnostics.DebuggerNonUserCode()> _
    Protected Overrides Sub Dispose(ByVal disposing As Boolean)
        Try
            If disposing AndAlso components IsNot Nothing Then
                components.Dispose()
            End If
        Finally
            MyBase.Dispose(disposing)
        End Try
    End Sub

    'Required by the Component Designer
    Private components As System.ComponentModel.IContainer

    'NOTE: The following procedure is required by the Component Designer
    'It can be modified using the Component Designer.
    'Do not modify it using the code editor.
    <System.Diagnostics.DebuggerStepThrough()> _
    Private Sub InitializeComponent()
        Dim resources As System.ComponentModel.ComponentResourceManager = New System.ComponentModel.ComponentResourceManager(GetType(TextureFillSample2))
        Me.castlePGFill = New Camalon.Drawing.PathGradientFill()
        Me.solidFill2 = New Camalon.Drawing.SolidFill()
        Me.castle = New Camalon.Drawing.Shapes.Castle()
        Me.castlePen = New Camalon.Drawing.ShapePen()
        Me.magicShape = New Camalon.Drawing.Shapes.MagicShape()
        Me.pathGradientFill1 = New Camalon.Drawing.PathGradientFill()
        Me.rectangle2 = New Camalon.Drawing.Shapes.RectangleShape()
        Me.pie = New Camalon.Drawing.Shapes.Pie()
        Me.textureFill = New Camalon.Drawing.TextureFill()
        Me.shapePen = New Camalon.Drawing.ShapePen()
        Me.rectangle = New Camalon.Drawing.Shapes.RectangleShape()
        CType(Me, System.ComponentModel.ISupportInitialize).BeginInit()
        '
        'castlePGFill
        '
        Me.castlePGFill.FillMode = Camalon.Drawing.PathGradientFillMode.Elliptic
        Me.castlePGFill.InterpolationColors = New Camalon.Drawing.CompoundColor() {New Camalon.Drawing.CompoundColor(System.Drawing.Color.Black), New Camalon.Drawing.CompoundColor(System.Drawing.Color.WhiteSmoke, 0.5!), New Camalon.Drawing.CompoundColor(System.Drawing.Color.CornflowerBlue, 1.0!)}
        '
        'solidFill2
        '
        Me.solidFill2.Color = New Camalon.Drawing.TransparentColor(System.Drawing.Color.FromArgb(CType(CType(70, Byte), Integer), CType(CType(255, Byte), Integer), CType(CType(0, Byte), Integer), CType(CType(0, Byte), Integer)))
        '
        'castle
        '
        Me.castle.BorderSides = CType((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Left), System.Windows.Forms.AnchorStyles)
        Me.castle.BorderType = Camalon.Drawing.Shapes.BorderType.Line
        Me.castle.Fill = Me.castlePGFill
        Me.castle.PeakCount = 3
        Me.castle.PeakHeight = 5
        Me.castle.PeakStyle = Camalon.Drawing.Shapes.CircleType.Gear2
        Me.castle.Pen = Me.castlePen
        Me.castle.Position = New System.Drawing.Point(97, 22)
        Me.castle.Shear = New Camalon.Drawing.Shear(10, 0)
        Me.castle.Size = New System.Drawing.Size(25, 25)
        '
        'magicShape
        '
        Me.magicShape.Fill = Me.pathGradientFill1
        Me.magicShape.InSize = New Camalon.Drawing.SizeScale(0.6!, 0.6216216!)
        Me.magicShape.PeakCount = 5
        Me.magicShape.Pen = Me.castlePen
        Me.magicShape.Position = New System.Drawing.Point(166, 17)
        Me.magicShape.Size = New System.Drawing.Size(40, 40)
        '
        'pathGradientFill1
        '
        Me.pathGradientFill1.InterpolationColors = New Camalon.Drawing.CompoundColor() {New Camalon.Drawing.CompoundColor(System.Drawing.Color.Black), New Camalon.Drawing.CompoundColor(System.Drawing.Color.WhiteSmoke, 0.5!), New Camalon.Drawing.CompoundColor(System.Drawing.SystemColors.InactiveCaption, 1.0!)}
        '
        'rectangle2
        '
        Me.rectangle2.BottomLeft = New Camalon.Drawing.Corner(0.222223!, 0.2857129!)
        Me.rectangle2.BottomRight = New Camalon.Drawing.Corner(0.2222229!, 0.2857147!)
        Me.rectangle2.Fill = Me.pathGradientFill1
        Me.rectangle2.Pen = Me.castlePen
        Me.rectangle2.Position = New System.Drawing.Point(245, 24)
        Me.rectangle2.Shear = New Camalon.Drawing.Shear(8, 0)
        Me.rectangle2.Size = New System.Drawing.Size(30, 30)
        Me.rectangle2.TopLeft = New Camalon.Drawing.Corner(0.2222234!, 0.2857151!)
        Me.rectangle2.TopRight = New Camalon.Drawing.Corner(0.2222229!, 0.2857144!)
        '
        'pie
        '
        Me.pie.Fill = Me.pathGradientFill1
        Me.pie.Pen = Me.castlePen
        Me.pie.Position = New System.Drawing.Point(27, 19)
        Me.pie.Size = New System.Drawing.Size(30, 30)
        Me.pie.StartAngle = 37
        Me.pie.SweepAngle = 233
        '
        'textureFill
        '
        Me.textureFill.ColorMap = New Camalon.Drawing.TransparentColor() {New Camalon.Drawing.TransparentColor(System.Drawing.Color.White), New Camalon.Drawing.TransparentColor(System.Drawing.Color.Lavender)}
        Me.textureFill.Image = CType(resources.GetObject("textureFill.Image"), System.Drawing.Image)
        Me.textureFill.ImageAlign = Camalon.Drawing.ImageAlign.TopLeft
        Me.textureFill.ImageWrap = System.Drawing.Drawing2D.WrapMode.TileFlipXY
        '
        'shapePen
        '
        Me.shapePen.Color = New Camalon.Drawing.TransparentColor(System.Drawing.SystemColors.InactiveCaption)
        Me.shapePen.ForegroundPen = False
        Me.shapePen.Width = 2.0!
        '
        'rectangle
        '
        Me.rectangle.Fill = Me.textureFill
        Me.rectangle.Pen = Me.shapePen
        Me.rectangle.Position = New System.Drawing.Point(23, 91)
        Me.rectangle.Size = New System.Drawing.Size(291, 264)
        '
        'TextureFillSample2
        '
        Me.Shapes.AddRange(New Camalon.Drawing.Shape() {Me.castle, Me.magicShape, Me.rectangle2, Me.pie, Me.rectangle})
        CType(Me, System.ComponentModel.ISupportInitialize).EndInit()

    End Sub
    Private WithEvents castlePGFill As Camalon.Drawing.PathGradientFill
    Private WithEvents solidFill2 As Camalon.Drawing.SolidFill
    Private WithEvents castle As Camalon.Drawing.Shapes.Castle
    Private WithEvents castlePen As Camalon.Drawing.ShapePen
    Private WithEvents magicShape As Camalon.Drawing.Shapes.MagicShape
    Private WithEvents pathGradientFill1 As Camalon.Drawing.PathGradientFill
    Private WithEvents rectangle2 As Camalon.Drawing.Shapes.RectangleShape
    Private WithEvents pie As Camalon.Drawing.Shapes.Pie
    Private WithEvents textureFill As Camalon.Drawing.TextureFill
    Private WithEvents shapePen As Camalon.Drawing.ShapePen
    Private WithEvents rectangle As Camalon.Drawing.Shapes.RectangleShape

End Class
